/**
 * 
 */
package com.eascs.web.demo.db;

import javax.inject.Inject;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.eascs.site.controller.BaseRestController;
import com.eascs.site.view.BaseRestResult;

/**
 * @desc
 * @author QinFujun
 * @date 2015年4月8日
 */
@Controller
public class DbDemoRestcontroller extends BaseRestController {
	@Inject
	private DbDemoService dbDemoService;

	@RequestMapping(value = "/demo/test-transactional")
	public Object testTransactional() {
		dbDemoService.testTransactional();
		return BaseRestResult.buildSuccessResult();
	}

}
